find factorial of a number using for loop in c